﻿<%@ Control Language="c#" AutoEventWireup="false" Inherits="Web.Control.Member.User.ActiveComplete" %>
<div class="common">
	<div class="topmenu_op">
		<div style="text-align:left; margin:10px 0px 10px 0px">
			<div style="float:left; width:208px"><a href="/"><img src="/Images/newLogow.gif" border="0" /></a></div>
			<div style="float:right; width:550px; text-align:right"></div>
			<div class="clear"></div>
		</div>
	</div>
	<div class="topmenu_text">
		<div class="topmenu_text_site">
			<ul id="nav_manu">
				<li class="menu_left"><a href="/"><%=GetText("M0001")%></a> | <%=GetText("Find friends already on italki")%></li>
				<li class="menu_right">Step 3 of 4</li>
			</ul>
			<div class="clear"></div>
		</div>
	</div>
	<div id="new_body">
		<div id="body_900">
                <div class="submenu3"></div>
			<div id="body_left"></div>
			<div id="body_main">
				<div id="MessagesBox" style="display:none">
					<div class="MessagePanel4">
					<img id="MessageImg" src="/images/ico_info.gif" style="border-width: 0px;">
						<div id="MessageText">error content</div>
					</div>
				</div>
				<%if (setp != "1"){ %>
				<div class="Title">
					<h1><%=GetText("Find friends already on italki")%></h1>
					<div class="grey12"><%=GetText("Import your contacts from your email address book and we will show you which friends are already on italki and let you invite the ones who are not.")%></div>
				</div><%} %>
				<!--验证成功窗口 STEP1-->
				<div class="Center9001n">
					<div class="center9001common">
						<div class="Center9001Content">
							<div class="login_area">
								<!--Stand content start-->
								<div>
									<h4>Click icon to invite</h4>
									<p><a href="javascript:void(0);" onclick="javascript:$('gmail').style.display='';$('EFend').innerHTML='';" ><img src="/Images/invite_gmail.gif" border="0"></a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:void(0);" onclick="bbauth()"><img src="/Images/invite_yahoo.gif" border="0"></a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="<%=WWWHost %>/user/activecomplete.htm?setp=1&method=live1&action=login"><img src="/Images/invite_hotmail.gif" border="0"/></a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="<%=WWWHost %>/user/activecomplete.htm?setp=1&method=live1&action=login"><img src="/Images/invite_live.gif" border="0"></a></p>
									<div id="gmail" style="display:none">
										<p><%=GetText("UR013")%><br><input id="memail" name="" cols="" rows="1" class="common180" type="text"/> @gmail.com</p>
										<p><%=GetText("UR102")%><br><input name="" id="mpaw" cols="" rows="1" class="common180" type="password" onkeydown="$Enter$(event,InButton)"/></p>
										<p><div class="floatl"><a href="javascript:void(0);" id="InButton" onclick="OpenF()" style="text-decoration:none" class="addbtn"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<%=GetText("UR096")%>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></a></div><div class="clear"></div><br><span class="grey12"><%=GetText("UR097")%></span></p>
									</div>
								</div>
								<p align="right"><a href="<%=WWWHost %>/user/active_step4.htm">Skip ></a></p>
							</div>
							<div id="Emailfriend" class="login_area">
								<div id="EFend">
								<%if(su.Count>0){ %>
								<div>
											<h3><%=GetText("CT030")%></h3>
											<div class="content628 margin20D">
												<div class="floatl"><%=GetText("UR098")%></div>
												<div class="floatr"><a href="/"><%=GetText("C0113") %></a></div>
												<div class="clear"></div>
											</div>
											<div class="signup_recommend">
												<strong><%=GetText("UR099",new string[]{su.Count.ToString()})%></strong>
												<table width="100%" border="0" cellpadding="5" cellspacing="1">
													<tr>
													<td bgcolor="#eeeeee"><input type="checkbox" id="Chkall" onclick="CheckAllBox(this)"checked="checked"/><label for="Chkall"> <%=GetText("SR009")%></label></td>
														<td bgcolor="#eeeeee"><%=GetText("CT024")%></td>
														<td bgcolor="#eeeeee"><%=GetText("C0030")%></td>
														<td bgcolor="#eeeeee"><%=GetText("C0097")%></td>
													</tr>
													<asp:Repeater runat="server" ID="repmList">
													<ItemTemplate>
													<tr>
														<td><input type="checkbox" id="<%#Eval("MemberNo") %>" checked="checked"/></td>
														<td><%#Eval("MemberNo").ToString().IndexOf("@") > -1 ? "<span id=\"n" + Eval("MemberNo") + "\">" + Eval("Nickname") + "</span>" : "<a href='"+WWWHost+"/"+Eval("MemberNo")+".htm'><span id=\"n" + Eval("MemberNo") + "\">" + Eval("Nickname") + "</span></a>"%></td>
														<td><%#Eval("MemberNo").ToString().IndexOf("@") > -1?"":"Italki Memberno"%></td>
														<td style="width: 111px"><%#Eval("MemberCrtNo") %></td>
													</tr>
													</ItemTemplate>
													</asp:Repeater>
												</table>
												<p><div class="floatl"><a href="javascript:void(0);" id="btnSave" style="text-decoration:none" class="addbtn" onclick="Send()"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<%=GetText("CT016")%>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></a></div><div class="clear"></div></p>
											</div>
								</div>
								<%}else if (setp == "1"){ %>
								<div>
											<div class="signup_recommend">
												<strong><%=GetText("UR099",new string[]{su.Count.ToString()})%></strong> 
											</div>
								</div>
								<%} %>
								</div>
							</div>
						</div>
					</div>
				</div>
            </div>
            <div id="body_right"></div>
            <div class="clear"></div>
        </div>
        <div id="body_900F">
        </div>
    </div>
</div>
<script>
var CT030="<%=GetText("CT030") %>";
var UR098="<%=GetText("UR098") %>";
var UR099="<%=GetText("UR099") %>";
var SR009="<%=GetText("SR009") %>";
var CT024="<%=GetText("CT024") %>";
var C0030="<%=GetText("C0030") %>";
var C0097="<%=GetText("C0097") %>";
var CT016="<%=GetText("CT016") %>";
var _rname='<%=Escape(bum) %>';
var _memberno="<%=memberno %>";
var _nndd='<tr><td><input type="checkbox" id="$MemberNo$" checked="checked"/></td><td>$NickName$</td><td>$Status$</td><td style="width: 111px">$MemberCrtNo$</td></tr>';
</script>